package top.maof.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.maof.book.model.BookInfo;

public interface BookInfoService extends IService<BookInfo> {
    boolean addForward(Integer bookId, int delta);

    void addLikes(Integer bookId, int delta);

    void addCollection(Integer bookId, int delta);

    void addClick(Integer bookId, int delta);

    BookInfo getByBookId(Integer bookId);
}
